package xs.szw.service.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @program: xs_oa
 * @description:
 * @author: Songzw
 * @create: 2025-02-08 09:15
 **/
@Schema(description = "角色Vo")
@Data
public class RoleVo {
    /**
     * 角色id
     */
    @Schema(description = "角色id")
    private Long id;

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    private String roleName;

    /**
     * 角色编码
     */
    @Schema(description = "角色编码")
    private String roleCode;



//    public RoleVo(Role role){
//        this.id=role.getId();
//        this.roleName=role.getRoleName();
//        this.roleCode=role.getRoleCode();
//    }
}
